import request from './http';

const BASE_URL = window.ENV?.TASK_API || '';


export function dirAdd(obj) {
    return request.requestPost(BASE_URL + '/dir-v2/add', obj)
}

export function dirDelete(obj){
    return request.requestPost(BASE_URL+'/dir-v2/delete',obj)
}

export function dirList(obj){
    return request.requestPost(BASE_URL+'/dir-v2/list',obj)
}

